initialize

open fun initialize(module: Module)

Initializes the PagerView with the given module.

This method iterates through the sources in the module's playlist and checks if they have expired based on their start and end dates. If a source has expired, its isExpired flag is set to true.

After checking the sources, it schedules an update to be run after a delay of 100 milliseconds.

Parameters

module

The module to initialize the PagerView with.